package tgc.edu.demo.jkxt.entity;

import java.util.List;

import javax.persistence.Entity;
import javax.persistence.ManyToOne;
import javax.persistence.OneToMany;

import tgc.edu.demo.jkxt.custom.BaseEntity;

@Entity
public class Knowledge extends BaseEntity<Integer> {
	private String name;
	private Course course;
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	
	@ManyToOne
	public Course getCourse() {
		return course;
	}
	public void setCourse(Course course) {
		this.course = course;
	}


	
	
}
